package com.beamfield.dao.sys;

import java.util.List;

import com.beamfield.model.FileInfo;
import com.beamfield.model.FileInfoExample;
import com.beamfield.modelVo.FileInfoVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface FileInfoMapper {
    int deleteByPrimaryKey(Long fileid);

    int insert(FileInfo record);

    int insertSelective(FileInfo record);

    List<FileInfo> selectByExample(FileInfoExample example);

    FileInfo selectByPrimaryKey(Long fileid);

    int updateByPrimaryKeySelective(FileInfo record);

    int updateByPrimaryKey(FileInfo record);

    List<FileInfoVo> selectByFileIdList(@Param("fileIdList") List<String> fileIdList, @Param("offset") String offset, @Param("limit") String limit);

    long countByFileIdList(@Param("fileIdList") List<String> fileIdList);

}